package com.ztomorrow.ying_cun_plus.service;

import com.ztomorrow.ying_cun_plus.dto.resp.NewsInfoRespDto;
import com.ztomorrow.ying_cun_plus.dto.resp.RestResp;

import java.util.List;

public interface NewsService {
    RestResp<List<NewsInfoRespDto>> listLatestNews();

    RestResp<NewsInfoRespDto> getNews(Long id);
}
